<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui" xmlns:ui="http://java.sun.com/jsf/facelets">

<ui:composition template="/layouts/default.xhtml">
    <ui:define name="title">#{text['classeDetail.title']}</ui:define>
    <ui:param name="menu" value="ClasseMenu"/>
    <ui:param name="menuleft" value="ClasseClasseFormMenu"/>

    <ui:define name="body">
        <div class="col-sm-9">
         <div class="page-header">
			<h3>#{text['classeDetail.heading']}</h3>
		</div>
        <h:form id="classeForm" styleClass="well">
	        <div class="form-group">
	    	<h:inputHidden value="#{classeForm.classe.id}" id="id"/>
	        </div>
	        
	        <div class="col-sm-3 form-group col-md-offset-4">
	            <h:outputLabel styleClass="control-label" for="nomClasse" value="#{text['classe.nomClasse']}"/>
	        <h:inputText id="nomClasse" value="#{classeForm.classe.nomClasse}" styleClass="form-control" required="false" maxlength="255"/>
	            <p:message for="nomClasse"/>
	        </div>
	        
            <div class="btn-group col-md-offset-5">
                <h:commandButton value="#{text['button.save']}" action="#{classeForm.save}"
                    id="save" styleClass="btn btn-primary"/>

                <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
                    id="cancel" styleClass="btn btn-default"/>
            </div>
        </h:form>
        </div>
    </ui:define>
</ui:composition>
</html>
